package com.yzy.soft.common.persistence.dao;

import com.yzy.soft.common.persistence.model.Business;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.yzy.soft.common.persistence.model.DataExtrace;
import org.springframework.data.repository.query.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author yinzhiyuan
 * @since 2018-01-03
 */
public interface BusinessMapper extends BaseMapper<Business> {

    //Integer updateById();
    List<Business> executeSql(@Param("dataExtrace")DataExtrace dataExtrace);
    Integer status(@Param("id")String id );

    Integer batchNuUseIds(@org.apache.ibatis.annotations.Param("ids")List<String> ids);
    Integer batchUseIds(@org.apache.ibatis.annotations.Param("ids")List<String> ids);
}
